package com.ruibang.glass.common.domain.camunda;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/***
 * 流程实例状态
 */
@Data
public class BpmProcessInstanceStatus implements Serializable {

    @ApiModelProperty(value = "业务key")
    private String businessKey;

    @ApiModelProperty(value = "流程实例Id")
    private String processInstanceId;

    @ApiModelProperty(value = "流程实例的状态 1:进行中,2:已完成")
    private Integer status;

    @ApiModelProperty(value = "流程实例结果 1:处理中,2:通过,3:不通过,4:已取消,5:退回/驳回")
    private String result;

    @ApiModelProperty(value = "处理人Id")
    private String userId;

    @ApiModelProperty(value = "当前节点名称")
    private String nodeName;

    @ApiModelProperty(value = "当前节点Key")
    private String nodeKey;
}
